﻿@model Guline.Web.CentralModels.Object.CApp
@{
    ViewBag.Title = @Guline.Web.CentralLanguages.Main.lblEditApp;
    Layout = "~/Areas/App/Views/Shared/_DashboardLayout.cshtml";
}
<span class="s_title_body_right">@ViewBag.Title</span>
<div class="s_content_body_right">
    @using (Html.BeginForm())
    {
        <table border="0" width="100%">
            <col style="width:25%">
            <col style="width:75%">
            <tr class="div_filed">
                <td class="td_right">@Guline.Web.CentralLanguages.Main.lblAppName</td>
                <td class="td_left">
                    @Html.HiddenFor(m => m.ID)
                    @Html.TextBoxFor(m => m.Name)
                    <span class="msg">@Html.ValidationMessageFor(m => m.Name)</span>
                </td>
            </tr>
            <tr class="div_filed">
                <td class="td_right">@Guline.Web.CentralLanguages.Main.lblDescription</td>
                <td class="td_left">
                    @Html.TextBoxFor(m => m.Description)
                    <span class="msg">@Html.ValidationMessageFor(m => m.Description)</span>
                </td>
            </tr>
            <tr class="div_filed">
                <td class="td_right">@Guline.Web.CentralLanguages.Main.lblAccessKey</td>
                <td class="td_left">
                    @Html.DisplayFor(m => m.Accesskey)
                    <span class="msg">@Html.ValidationMessageFor(m => m.Accesskey)</span>
                </td>
            </tr>
            <tr class="div_filed">
                <td class="td_right">@Guline.Web.CentralLanguages.Main.lblPrivateKey</td>
                <td class="td_left">
                    @Html.DisplayFor(m => m.Secretkey)
                    <span class="msg">@Html.ValidationMessageFor(m => m.Secretkey)</span>
                </td>
            </tr>
            @Html.HiddenFor(m=>m.AccountID)
            @*<tr class="div_filed">
                <td>Tài khoản</td>
                <td>
                    @Html.DropDownList("AccountID", "---==== Select Account ====---")
                    <span class="msg">@Html.ValidationMessageFor(m => m.AccountID)</span>
                </td>
            </tr>*@
        </table>
        <div class="submit">
            <input type="submit" value="@Guline.Web.CentralLanguages.Main.lblSaveChange" class="btn_submit center" />
            @Html.ActionLink(@Guline.Web.CentralLanguages.Main.lblBack, "", null, new { @class = "s_cancel center" })
        </div>
    }
</div>

